<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" value="{$row.name}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span class="text-red">*</span>项目当前阶段:</label>
        <div class="col-xs-12 col-sm-8">
           {:build_select('row[progress_status_id]',$Think.config.app.project_status,0,['id'=>"progress_status_id",'class'=>'form-control','required'])}
        </div>
    </div>
    <div class="form-group progress_status_time">
        <label class="control-label col-xs-12 col-sm-2"><span class="text-red">*</span>阶段时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="row[progress_status_time]" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" type="text" required>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-success btn-update">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style type="text/css">
    .error{color: red}
</style>